package com.bank.backend.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 用户信息返回对象
 */
@Data
@ApiModel("用户通用VO")
public class UserVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("用户ID")
    private Integer userId;

    @ApiModelProperty("用户姓名")
    private String userName;

    @ApiModelProperty("身份证号")
    private String pid;

    @ApiModelProperty("手机号")
    private String telephone;

    @ApiModelProperty("地址")
    private String address;

    @ApiModelProperty("管理员账号")
    private String adminAccount;

    @ApiModelProperty("是否为管理员")
    private Boolean isAdmin;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty("登录令牌")
    private String token;
}